<?php
// echo 'this file will ...';
// var_dump($_POST);
// echo "<pre>";
// print_r($_POST);
// echo "</pre>";
// echo $_GET['username'];
//var_dump($_REQUEST);

// 写入数据
$handle = fopen("datafile.csv", "a");
$content = $_POST['username'] . ',' . $_POST['usernumber'] . ',' . $_POST['class1'] .',' .
 $_POST['userurl'] ."\n";
fwrite($handle, $content);
fclose($handle);

// 显示数据
include 'OutputForm.php';
?>
